package com.ruoyi.mdkt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author gwl
 * @since 2022-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TaskReceive implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 学生ID
     */
    private Long studentUserId;

    /**
     * 任务ID
     */
    private Long taskId;
    /**
     * TaskInfo ID
     */
    private Long taskInfoId;
    /**
     * 1:选择 2:填空 3:简答 4:签到
     */
    private Integer type;

    /**
     * 问题
     */
    private String question;

    /**
     * 回答
     */
    private String answer;

    /**
     * 分数
     */
    private Integer score;

    private String url;

    private LocalDateTime createTime;

    /**
     * 1:已删除，0:未删除
     */
    private Integer isDeleted;


}
